<ul class="sub-tab">
  <li *ngFor="let list of lists; let i = index">
    <a class="sub-lists" href="javascript: void(0)" (click)="tabClick(i, list.class)" [class.sub-active]="tabActive(i)">{{list.label}}</a>
  </li>
</ul>